<?php if(!in_array($data, array(null, '', '0'))):?>
    <?php $json = json_decode($data->content);?>
    <tr>
        <td class="qs" style="width: 50% !important;"><?php echo strip_slashes($json->question);?></td>
        <td class="rs_rs" style="width: 30% !important;text-align: center">
            <?php $arr = array();?>
            <?php foreach($json->choice AS $eel=>$lle):?>
            <span>
                <?php $arr[] = $lle[0]?>
                <?php echo $lle[0]?>
            </span>
             <?php endforeach?>
        </td>
        <td class="tools">
            <span id="start_vote_qa" data-other='<?php echo json_encode((object)array('data' => $arr))?>' data-id="<?php echo $data->id.'_'.$data->tvshow_id.'_'.$data->id_channel.'_'.$data->isshare?>" data-value='<?php echo $data->content; ?>' style="padding: 10px 20px;margin-right: 5px;float: left;">Bắt đầu</span>
            <span class="delete_vote" data-id="<?php echo $data->id;?>" style="padding: 10px 20px;background: #B00101">Xóa</span>
        </td>
    </tr>

<?php endif;?>
